<?php
	require_once("function.php");
	require("RegularEmployee.php");
	
	
	class editPlanholderController{

		
		function sendSaveChangesRequest($polnum,$firstName,$middleName,$lastName,$contactNo,$birthday,$applicationNo,$accountExecutive,$type,$term,$mode,$planValue,$effectiveDate,$dueDate,$branch){

			$regemp = new RegularEmployee;

			$regemp -> editPlanholder($polnum,$firstName,$middle,$lastName,$birthday,$applicationNo,$type,$term,$mode,$planValue,$effectiveDate,$dueDate,$branch);

		}
	}

	

$edit = new editPlanholderController;
$policyNumber = $_REQUEST['policyNumber'];
$firstName = $_REQUEST['firstName'];
$middle = $_REQUEST['middle'];
$lastName = $_REQUEST['lastName'];
$birthday = $_REQUEST['birthday'];
$applicationNo = $_REQUEST['applicationNo'];
$type = $_REQUEST['type'];
$term = $_REQUEST['term'];
$mode = $_REQUEST['mode'];
$planValue = $_REQUEST['planValue'];
$effectiveDate = $_REQUEST['effectiveDate'];
$dueDate = $_REQUEST['dueDate'];
$branch = $_REQUEST['branch'];
$edit->sendSaveChangesRequest($policyNumber,$firstName,$middle,$lastName,$birthday,$applicationNo,$type,$term,$mode,$planValue,$effectiveDate,$dueDate,$branch);


?>